import request from "@/router/axios";
import { baseUrl } from "@/config/env";

//添加奖学金分配
export function addRewardDistribution(data) {
  return request({
    url: baseUrl + "/pc/reward-distribution",
    method: "post",
    data
  });
}

//查询奖学金分配
export function getRewardDistribution(data) {
  return request({
    url: baseUrl + "/pc/reward-distribution",
    method: "get",
    params: data
  });
}

//删除奖学金分配
export function deleteRewardDistribution(data) {
  return request({
    url: baseUrl + "/pc/reward-distribution",
    method: "delete",
    data
  });
}

//更新奖学金分配
export function updateRewardDistribution(data) {
  return request({
    url: baseUrl + "/pc/reward-distribution",
    method: "put",
    data
  });
}

//导入奖学金分配
export function importRewardDistribution(data) {
  return request({
    url: baseUrl + "/pc/reward-distribution",
    method: "post",
    data
  });
}
